//
//  HSKrMainMeCell.m
//  HolyShit
//
//  Created by Robin on 2017/4/12.
//  Copyright © 2017年 HolyShit. All rights reserved.
//

#import "HSKrMainMeCell.h"

@interface HSKrMainMeCell ()



@end

@implementation HSKrMainMeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self commonInit];
    }
    return self;
}

- (void)commonInit
{
    self.iconLb = [UILabel labelWithFont:IconFont(22) color:HEXCOLOR(HSColorBlack)];
    [self addSubview:self.iconLb];
    [self.iconLb mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(20);
        make.centerY.equalTo(self);
    }];
    self.titleLb = [UILabel labelWithFont:MYFont(Font30) color:HEXCOLOR(HSColorBlack)];
    [self addSubview:self.titleLb];
    [self.titleLb mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.iconLb.mas_right).offset(10);
        make.centerY.equalTo(self.iconLb);
    }];
}

@end
